GDK/Win32: Fix build after GDK Root Window and DND changes
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 17 Nov 2017 07:27:10 +0000 (15:27 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 22 Nov 2017 14:18:28 +0000 (22:18 +0800)
commite076cc7b1f609ad278c3759563d63781f42e4dc2
tree1445ef1e27ee579e3e942aa89711e9557d6c6a93
parenta687fd9aeb36d8397a90dd87b3e8cf4154a25203
GDK/Win32: Fix build after GDK Root Window and DND changes

Ensure that things build again, and instead use the Windows API to
acquire the screen dimensions (note: this may need to be scaled for
HiDPI, but since I do not own a WinTab-based device, I will need to
keep the dimensions as-is for now).

Also update the gdkdnd-win32.c code to use formats rather than targets.

https://bugzilla.gnome.org/show_bug.cgi?id=773299
gdk/win32/gdkdevice-win32.c
gdk/win32/gdkdevice-wintab.c
gdk/win32/gdkdevicemanager-win32.c
gdk/win32/gdkdisplay-win32.h
gdk/win32/gdkdnd-win32.c
gdk/win32/gdkprivate-win32.h
gdk/win32/gdkselection-win32.c